<?php /* Smarty version 2.6.13, created on 2011-09-04 12:46:49
         compiled from contact.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'ntp_tr', 'contact.tpl', 78, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "top.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<script type="text/javascript" src="<?php echo $this->_tpl_vars['WPATH']; ?>
js/contact.js"></script>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAfN8mSVtlAUyGw5sy4eNwDxQR_n4pmJwGrKtExx1p0RluX5w_HRRxU68o2a4GvXk-aiXgzWk02mo5VA" type="text/javascript"></script>
	<script src="http://www.google.com/uds/api?file=uds.js&amp;v=1.0&amp;key=ABQIAAAAfN8mSVtlAUyGw5sy4eNwDxQR_n4pmJwGrKtExx1p0RluX5w_HRRxU68o2a4GvXk-aiXgzWk02mo5VA" type="text/javascript"></script>
    <script type="text/javascript" src="<?php echo $this->_tpl_vars['WPATH']; ?>
js/gmap.js"></script>
<div class="wrapperbody">
	<div class="fr_body paddingleft-page">
    	<div class="title_page"><?php echo $this->_tpl_vars['CONTACT']->page_name; ?>
</div>
        <div class="contact_info">
            
           	
            <div class="map left">
            	<img src="<?php echo $this->_tpl_vars['WPATH']; ?>
images/hotline.png" />
                <div id="frame_google_map">  
                        <div class="content-nav" style="text-align:center;">
                           <img src="<?php echo $this->_tpl_vars['WPATH']; ?>
images/map.jpg" />
                        </div> 
                </div>  
                <script type="text/javascript" src="<?php echo $this->_tpl_vars['WPATH']; ?>
js/gmap/kntd_map.js" smarty></script>
<script>
<?php echo '
	function goBack() {
    window.history.back();
	}
		var toado = 15;
		 var baseIcon = new GIcon();
		baseIcon.iconSize=new GSize(32,32);
		baseIcon.iconAnchor=new GPoint(27,30);
		baseIcon.infoWindowAnchor=new GPoint(27,0);
		'; ?>

		var pushpin = new GIcon(baseIcon, "<?php echo $this->_tpl_vars['WPATH']; ?>
Icon_Map.png");
		<?php echo '
        //center maps
       var _html = "<table><tr><td><image src=\\"#\\"></td><td valign=\\"top\\"><div><b>Quảng cáo Trang Đài</b></div><div>12A/56 Hậu Giang, Phường 5<br> Quận 6, Tp. Hồ Chí Minh</div></td></tr></table>";
        var map = new GMap2(document.getElementById("map"));        
		
			map.setCenter(new GLatLng(10.749183,106.645678), toado);
			var point = new GLatLng(10.749183,106.645678);
			var marker = createMarker(point,_html,pushpin)
			marker.openInfoWindowHtml(_html);
			map.addOverlay(marker);
		map.setUIToDefault();
		map.addControl(new GLargeMapControl());
        //add diem
       	/*
						var point = new GLatLng({$item->coor_X},{$item->coor_Y});
						var marker = createMarker(point,_html,pushpin)
						marker.openInfoWindowHtml(_html);
						map.addOverlay(marker);
		*/
			
					var point = new GLatLng(10.749183,106.645678);
						var _html = "<table><tr><td><image src=\\"#\\"></td><td valign=\\"top\\"><div><b>Quảng cáo Trang Đài</b></div><div>12A/56 Hậu Giang, Phường 5<br> Quận 6, Tp. Hồ Chí Minh</div></td></tr></table>";
						var marker = createMarker(point,_html,pushpin)
						//marker.openInfoWindowHtml(_html);
						map.addOverlay(marker);
      '; ?>
    
    </script>
                &nbsp;
            </div>  
			<div class="contact-rightside">
            	<div class="contact-info">
                	 <?php if ($this->_tpl_vars['CONTACT']): ?>
                      <?php echo $this->_tpl_vars['CONTACT']->page_content; ?>
	   
                    <?php endif; ?>
                </div>
                <div class="form-contact">
                	<form name="frmContact" id="frmContact" method="post"  action="" onSubmit="return onSendContactEmail('frmContact', 'ajaxResponse','<?php echo $this->_tpl_vars['WPATH']; ?>
lien-he/','<?php echo $this->_tpl_vars['WPATH']; ?>
lien-he/'); ">
                    <input type="hidden" name="act" value="sendcontactemail" />
                    <table cellpadding="0" cellspacing="0" class="formcontact">
                    	<tr>
                        	<th></th>
                            <td><div id="ajaxResponse" class="message"></div></td>
                        </tr>
                    	<tr>
                        	<th><span>*</span> <?php $this->_tag_stack[] = array('ntp_tr', array()); $_block_repeat=true;do_translation($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Full name<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo do_translation($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>:</th>
                            <td><input name="name" type="text" size="29" /></td>
                        </tr>
                        <tr>
                        	<th><span>*</span> Điện thoại:</th>
                            <td><input name="phone" type="text" size="29" /></td>
                        </tr>
                        <tr>
                        	<th><span>*</span> E-mail:</th>
                            <td><input name="email" type="text" size="29" /></td>
                        </tr>
                        <tr>
                        	<th style="vertical-align:top"><span>*</span> <?php $this->_tag_stack[] = array('ntp_tr', array()); $_block_repeat=true;do_translation($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Information<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo do_translation($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>:</th>
                            <td><textarea name="information" cols="25" rows="10" class="left"></textarea></td>
                        </tr>
                        
                        <tr>
                        	<th style="vertical-align:top"></th>
                            <td valign="top"><input type="submit" class="btn_send point" value="<?php $this->_tag_stack[] = array('ntp_tr', array()); $_block_repeat=true;do_translation($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>send<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo do_translation($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>"/></td>
                        </tr>
                    </table>
                </form>        
                </div>
            </div>	
            <div class="clear"></div>
        </div>	  
	</div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>        